<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="http://192.168.121.128:8080/" />
<title>2</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">2</td></tr>
</thead><tbody>
<tr>
	<td>open</td>
	<td>/woniusales/</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=username</td>
	<td>admin</td>
</tr>
<tr>
	<td>type</td>
	<td>id=password</td>
	<td>admin123</td>
</tr>
<tr>
	<td>typeAndWait</td>
	<td>id=verifycode</td>
	<td>0000</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>css=button.form-control.btn-primary</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=会员管理</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=customerphone</td>
	<td>15312341234</td>
</tr>
<tr>
	<td>type</td>
	<td>id=customername</td>
	<td>yyy</td>
</tr>
<tr>
	<td>select</td>
	<td>id=childsex</td>
	<td>label=女</td>
</tr>
<tr>
	<td>type</td>
	<td>id=creditkids</td>
	<td>2000</td>
</tr>
<tr>
	<td>type</td>
	<td>id=creditcloth</td>
	<td>20000</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>xpath=(//button[@type='button'])[5]</td>
	<td></td>
</tr>
<tr>
	<td>select</td>
	<td>id=childsex</td>
	<td>label=女</td>
</tr>
<tr>
	<td>type</td>
	<td>id=customerphone</td>
	<td>15312341234</td>
</tr>
<tr>
	<td>click</td>
	<td>xpath=(//button[@type='button'])[7]</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=销售出库</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=库存查询</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//input[@value='按条件查询库存情况']</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=goodsserial</td>
	<td>6955203660428</td>
</tr>
<tr>
	<td>click</td>
	<td>//input[@value='按条件查询库存情况']</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//input[@value='按条件查询库存情况']</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=goodsserial</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//input[@value='按条件查询库存情况']</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=barcode</td>
	<td>6955203645890</td>
</tr>
<tr>
	<td>click</td>
	<td>//input[@value='按条件查询库存情况']</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=销售出库</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=barcode</td>
	<td>6955203645890</td>
</tr>
<tr>
	<td>click</td>
	<td>css=button.form-control.btn-primary</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=barcode</td>
	<td>6955203645890</td>
</tr>
<tr>
	<td>click</td>
	<td>css=button.form-control.btn-primary</td>
	<td></td>
</tr>
<tr>
	<td>select</td>
	<td>id=goodssizeList</td>
	<td>label=尺码:66,剩余:4件</td>
</tr>
<tr>
	<td>click</td>
	<td>//button[@onclick='buyCountPlus(this)']</td>
	<td></td>
</tr>
<tr>
	<td>chooseCancelOnNextConfirmation</td>
	<td></td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>css=td.discountratio &gt; input[type=&quot;text&quot;]</td>
	<td>5</td>
</tr>
<tr>
	<td>assertConfirmation</td>
	<td>是否统一修改折扣比例？</td>
	<td></td>
</tr>
<tr>
	<td>chooseCancelOnNextConfirmation</td>
	<td></td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>css=td.discountratio &gt; input[type=&quot;text&quot;]</td>
	<td>50</td>
</tr>
<tr>
	<td>assertConfirmation</td>
	<td>是否统一修改折扣比例？</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=customerphone</td>
	<td>15378177153</td>
</tr>
<tr>
	<td>click</td>
	<td>xpath=(//button[@type='button'])[6]</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>xpath=(//button[@type='button'])[6]</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=oldcredit</td>
	<td>22000</td>
</tr>
<tr>
	<td>type</td>
	<td>id=creditratio</td>
	<td>2</td>
</tr>
<tr>
	<td>type</td>
	<td>id=creditratio</td>
	<td>5</td>
</tr>
<tr>
	<td>type</td>
	<td>id=ticketsum</td>
	<td>100</td>
</tr>
<tr>
	<td>click</td>
	<td>id=submit</td>
	<td></td>
</tr>
<tr>
	<td>assertConfirmation</td>
	<td>请确认你已经真实收到【现金】支付金额：165元。</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=批次管理</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=batchfile</td>
	<td>D:\wyq\第二阶段\tr\系统测试\蜗牛进销存项目\测试用例\批次管理_批次文件\导入商品信息1.xls</td>
</tr>
<tr>
	<td>type</td>
	<td>id=batchname</td>
	<td>night</td>
</tr>
<tr>
	<td>click</td>
	<td>css=input.btn-primary.form-control</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>xpath=(//a[contains(text(),'修改')])[3]</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=quantity</td>
	<td>50</td>
</tr>
<tr>
	<td>click</td>
	<td>css=#editModal &gt; div.modal-dialog &gt; div.modal-content &gt; div.modal-footer &gt; button.btn.btn-primary</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>css=div.modal-dialog.modal-sm &gt; div.modal-content &gt; div.modal-footer &gt; button.btn.btn-primary</td>
	<td></td>
</tr>
<tr>
	<td>select</td>
	<td>id=batchnamelist</td>
	<td>label=GB20180323</td>
</tr>
<tr>
	<td>select</td>
	<td>id=batchnamelist</td>
	<td>label=GB20180406</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=批次管理</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//input[@value='确认查询']</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=商品入库</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=goodsserial</td>
	<td>M6T275BK</td>
</tr>
<tr>
	<td>type</td>
	<td>id=barcode</td>
	<td>234513452</td>
</tr>
<tr>
	<td>type</td>
	<td>id=inputsize</td>
	<td>X-XL</td>
</tr>
<tr>
	<td>type</td>
	<td>id=quantity</td>
	<td>25</td>
</tr>
<tr>
	<td>select</td>
	<td>id=goodstype</td>
	<td>label=鞋袜</td>
</tr>
<tr>
	<td>click</td>
	<td>css=input.btn-primary.form-control</td>
	<td></td>
</tr>
<tr>
	<td>assertConfirmation</td>
	<td>你是否确认提交该入库信息?</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=库存查询</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[@id='sizzle-1544613108575']/table/tbody/tr[3]/td[3]</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[@id='sizzle-1544613108575']/table/tbody/tr[3]/td[4]</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//input[@value='按条件查询库存情况']</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//input[@value='查询未入库商品']</td>
	<td></td>
</tr>
<tr>
	<td>select</td>
	<td>id=goodstype</td>
	<td>label=鞋袜</td>
</tr>
<tr>
	<td>click</td>
	<td>css=#sizzle-1544613108575 &gt; div.datetimepicker-days &gt; table..table-condensed &gt; tfoot &gt; tr &gt; th.today</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>css=div.datetimepicker-days &gt; table..table-condensed &gt; tfoot &gt; tr &gt; th.today</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//input[@value='按条件查询库存情况']</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=库存查询</td>
	<td></td>
</tr>
<tr>
	<td>select</td>
	<td>id=goodstype</td>
	<td>label=鞋袜</td>
</tr>
<tr>
	<td>click</td>
	<td>//input[@value='按条件查询库存情况']</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=下一页</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=下一页</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=上一页</td>
	<td></td>
</tr>
<tr>
	<td>answerOnNextPrompt</td>
	<td>19</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>xpath=(//a[contains(text(),'修改库存')])[32]</td>
	<td></td>
</tr>
<tr>
	<td>assertPrompt</td>
	<td>请输入当前实际库存数量：</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>css=div.modal-dialog.modal-sm &gt; div.modal-content &gt; div.modal-footer &gt; button.btn.btn-primary</td>
	<td></td>
</tr>
<tr>
	<td>select</td>
	<td>id=goodstype</td>
	<td>label=</td>
</tr>
<tr>
	<td>type</td>
	<td>id=goodsname</td>
	<td>七分打底裤</td>
</tr>
<tr>
	<td>click</td>
	<td>//input[@value='按条件查询库存情况']</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//input[@value='查询未入库商品']</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>css=input.form-control.btn-primary</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//input[@value='查询未入库商品']</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=销售报表</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>xpath=(//button[@type='button'])[5]</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>xpath=(//button[@type='button'])[8]</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=admin&nbsp;&nbsp;&nbsp;管理员</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=注销</td>
	<td></td>
</tr>
</tbody></table>
</body>
</html>
